using System;
using System.Collections.ObjectModel;

namespace Jink.Core.Handlers.Bind.Exceptions
{
    public abstract class BindException : Exception
    {
        public ReadOnlyCollection<BindResult> Matches { get; private set; }

        protected BindException(ReadOnlyCollection<BindResult> matches)
        {
            Matches = matches;
        }
    }
}